import request from "@/utils/request";

export function addChild(data) {
  return request({
    url: "/child/add",
    method: "post",
    data
  });
}
export function updateChild(data) {
  return request({
    url: "/child/update",
    method: "post",
    data
  });
}

export function getChildren() {
  return request({
    url: "/child/getByAccountId",
    method: "get"
  });
}
